package com.jzit168.common

import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }

    @Test
    fun conversionTime() {
        val list = listOf(1, 2, 3, 4, 5, 6, 7, 574, 564, 57, 457, 458, 4356, 74)
        println(list)
        val newList = list.joinToString(separator = "----")
        println(newList)
        val arrList = newList.replace("----", ",").split(",").toList()
        println(arrList)

    }
}